import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import path from "path";
export default defineConfig({
  plugins: [vue()],
  server: {
    port: 7070,
  },
  resolve: {
    alias: { "@": path.resolve(__dirname, "./src") },
  },
  proxy: {
    "/admin": {
      target: "http://localhost:8080",
      changeOrigin: true,
    },
  },
});
